home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: MegaDisc / MegaDisc 02 (1987)(MegaDisc Digital Publishing)(AU)[WB].zip / MegaDisc 02 (1987)(MegaDisc Digital Publishing)(AU)[WB].adf / ARTICLES / UsingIcons < prev    next >
Text File  |  1987-04-21  |  6KB  |  117 lines

  1.  
  2.                      MORE ON USING ICONS
  3.                      ```````````````````
  4.  
  5.     This is the second article in a series on using icons, designed
  6. to take some of the mystery out of manipulating the WorkBench for your
  7. own ends. Apart from saving you time and effort, fiddling with icons can
  8. be fun, and you can customize your discs as you like. You'll notice that
  9. on MEGADISC we've done a lot of that, and it's the equivalent of having
  10. a zappy design for a paper magazine.
  11.  
  12. ZAPICON
  13.     You'll notice the icon title on the main screen of MEGADISC - this
  14. is an empty icon, meaning that it's not attached to any file at all, and 
  15. is only there for effect, and, well, to be different. In the Fish Disks 
  16. (see SUBS&EXTRAS) you'll find a little utility called "ZAPICON" which was 
  17. responsible for the title, in combination with the ICONMERGE utility on
  18. EXTRAS 1.2 (which you should have by now - see article on System 1.2).
  19. To use it, you have to be in the CLI, and you have to have a "brush" 
  20. ready, made in DPaint and saved to an appropriate directory. This can be
  21. practically any size, but of course it eventually has to fit into a 
  22. window on Workbench. I'd also suggest that when you're designing your 
  23. icon in your paint program, you should do it in medium resolution (the
  24. resolution of the Workbench), and that you choose colours spread through
  25. your colour palette - Workbench only allows for 4 colours, and will do
  26. the best it can to approximate the colours you use depending on their 
  27. position in the palette.
  28.     ZAPICON attaches brushes to programs or "tools", and not to 
  29. drawers or projects or discs (though there's a way around this - see 
  30. later). So if you have a Tool without an icon (so that it's only 
  31. available through the CLI - say TICON) and you want to be able to see it,
  32. and maybe use it, through Workbench, you can use ZAPICON as follows:
  33.  
  34.                       > Zapicon Brushname Toolname 
  35.         e.g.          > Zapicon Mybrush Ticon
  36.     This will attach the brush to the tool as its icon, as 
  37. "Ticon.info" in this case. All icons are represented in the CLI as 
  38. ".info" files.
  39.  
  40.     It may be that you only want a title like the MEGADISC title.
  41. In this case, while in the CLI, simply delete the program file that
  42. you attached the brush to, and you'll be left with the icon only. In this
  43. example 
  44.                       > delete ticon
  45. Note: only do this with a copy of your program, or Ciao program.
  46.  
  47. ICONMERGE
  48.     You may want to go a bit further and use the IconMerge utility
  49. on your EXTRAS 1.2 disc to attach another icon to the first, or any other
  50. icon for that matter. This is a simple operation of opening the ICONMERGE
  51. icon: you'll see a requestor asking you for the name of the first icon,
  52. i.e., the way the icon will look without being selected. Type in its name
  53. without ".info" (remembering to give the PATHNAME, i.e. the full name of
  54. the directory it's in, like       df1:mydrawer/ticon  ), and do the same
  55. with the second icon, which of course has to be of the same type, say a
  56. drawer or project or program. The second icon should also be the same 
  57. size as the first icon or you'll get an overlapping mess. Then just give
  58. the combined thing a name, which could be the name you started with if
  59. you want to keep it. And that's it. You'll now have an icon which changes
  60. into something else as soon as you select it or open it.
  61.  
  62. GETTING AROUND THE ICON-TYPE RESTRICTION
  63.     Every time you use the Icon Editor, you'll find a reminder 
  64. which tells you that you should "import" or load the same sort of icon
  65. as the file you're going to save it to. And so you should. But if there's
  66. a project icon which you'd really like to attach to a drawer, you can do
  67. it as follows: load in the drawer icon through the "Load data" item in
  68. the menu - it will appear in the first box and in the window; select 
  69. a different icon box with the mouse and then load in the icon you want
  70. to attach to the drawer; re-select the drawer so it appears in the edit
  71. window and then "rub" it out or select "clear this frame" from the
  72. menu, and it will vanish; now re-select your desired icon and then 
  73. from the menu, "merge with frame" and move your pointer to the "1", 
  74. meaning the original box with the drawer now obliterated. Release the
  75. mouse button and you should have the required icon now passing as a
  76. drawer icon. Now just select "save data" from the menu, remembering to 
  77. type in the whole PATHNAME of the file you want to attach it to. 
  78.  
  79.     The icon editor has many capabilities, and is worth playing 
  80. around with - you can merge any box with any other to get very odd effects
  81. and you can experiment with the various forms of "highlighting" 
  82. available (jam, complement,etc), as well as writing into the frame, and
  83. other possibilities.
  84.  
  85.        It's worth attaching icons to certain drawers and other files
  86. in the CLI which otherwise don't appear on the WorkBench,as it serves
  87. as an immediate reminder of what you've got on your disc. So for example,
  88. if you've got a text file (typed in ED in the CLI - see article on CLI -
  89. or gathered from a public domain disc) which lives only in the CLI, and 
  90. which you'd like to access instantly from WorkBench, you can attach an
  91. icon to it by simply loading the right kind of icon (from anything on the
  92. WorkBench - in this case, being a text file, a "project" icon of any kind)
  93. into the Icon Editor and then immediately saving the icon to the name
  94. of the file requiring an icon. Then to be able to read it by simply
  95. double-clicking on it, you have to import the right utility - TICON on
  96. MEGADISC is fine for these purposes, so get into the root directory of
  97. MEGADISC in the CLI and copy TICON to your disc:
  98.             > cd MEGADISC2:            
  99.             > copy TICON to MYDISC:
  100. Now, to ensure that when you double-click your textfile icon, it is 
  101. printed onscreen, open "INFO" in the WorkBench Project menu (having 
  102. clicked once on your icon) and click in the DEFAULT TOOL box and type
  103. in   :TICON   then click on SAVE in the bottom left corner. Now when
  104. you open your icon it will call to TICON which will display it onscreen
  105. in the same way as the MEGADISC file appear.
  106.  
  107.     A final note - if you'd like us to put together a disc with any
  108. and all information on icons, including some interesting icons to use,
  109. write and tell us and we'll do so.
  110.  
  111.  
  112. END OF "USINGICONS"
  113.              |
  114.              |
  115.              |
  116.              V
  117.